﻿import flash.external.*

function show_card()
{
	ExternalInterface.call("tgame_menu.show_card");
}
btnCard.addEventListener("click", this, "show_card");

function show_achieve()
{
	ExternalInterface.call("tgame_menu.show_achieve");
}
btnAchieve.addEventListener("click", this, "show_achieve");

function add_friend()
{
	ExternalInterface.call("tgame_menu.add_friend");
}
btnFriend.addEventListener("click", this, "add_friend");

function do_chat()
{
	ExternalInterface.call("tgame_menu.do_chat");
}
btnChat.addEventListener("click", this, "do_chat");